<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>翻转门牌</title>
    <style>
        .box{
            position: relative;
            width: 300px;
            height: 300px;
            margin: 100px auto;
            background-color: skyblue;
            border-radius: 50%;
            transition: 3s all;
            transform-style: preserve-3d;
        }

        .box:hover{
            transform: rotateY(180deg);
        }

        .front,.back{
            position: absolute;
            top: 0;
            left: 0;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            text-align: center;
            line-height: 300px;
            font-size: 25px;
        }
        
        .box .front{
            background-color: pink;
            z-index: 1;
        }
        
        .box .back{
            transform: rotateY(-180deg);
            background-color: purple;
        }
        
    </style>
</head>

<body>
    <div class="box">
        <div class="front">
            这是正面没看出来吧
        </div>

        <div class="back">
            不会吧不会吧
        </div>
    </div>
</body>
</html>